from flask import Flask, render_template, request
app = Flask(__name__, template_folder='template')
@app.route("/")
def index():
    return render_template("books.html")
# @app.route("/regHandle",methods["GET","POST"])
@app.route("/regHandle", methods=["GET", "POST"])
def regi():
    if request.method=="POST":
        bookName=request.form.get("bookName")
        autho=request.form.get("autho")
        page=request.form.get("page")
        flag=request.form.get("flag")
        asdfsdfasdf
        return render_template("requesee.html",bookName=bookName,autho=autho,
                               page=page,flag=flag)

if __name__=="__main__":
    app.run(debug=True)